<template>
  <div class="th3d">
    <iframe class="ifa" scrolling="auto" :src="iframeUrl" frameborder="0" />
  </div>
</template>

<script>
import { getConfigData } from '@/api/config'
export default {
  name: 'BigScreenPage',
  components: {
  },
  data() {
    return {
      iframeUrl: 'http://10.1.5.231:9000/overview/'
    }
  },
  created() {
    getConfigData('bigScreenUrl').then(response => {
      this.iframeUrl = response.data
    })
  }
}
</script>
<style lang="scss" scoped>
  .th3d {
    margin-bottom: -3px;
  }
  .ifa {
    width: 100%;
    height: calc(100vh - 50px);
  }
</style>
